package com.hrt.web.address.area.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.hrt.base.BaseDaoImpl;
import com.hrt.bean.Area;
import com.hrt.web.address.area.dao.AreaDaoWeb;
@Repository
public class AreaDaoImplWeb extends BaseDaoImpl<Area> implements AreaDaoWeb{

	@SuppressWarnings("unchecked")
	@Override
	public List<Area> getAreaByCityCode(String citycode) {
		String hql = "select area from Area area where area.citycode='"+citycode+"' and area.isdelete=0";
		return getHibernateTemplate().find(hql);
	}


}
